@echo off
chcp 65001 >nul
echo ====================================
echo 推送错题本修复
echo ====================================
echo.

cd /d "%~dp0"

git add math-academy\src\app\mistakes\page.tsx
git add math-academy\src\app\dashboard\page.tsx
git add 本地数据库完整初始化.bat
git add 一键推送所有更新.bat
git add 今日部署总结-2025-10-09.md
git commit -m "fix: Fix mistakes page data parsing and add mistakes book entry"
git push origin main

echo.
echo ====================================
echo 推送完成！
echo ====================================
echo.
echo 现在刷新本地页面（Ctrl+Shift+R）就可以正常使用了！
echo.
pause

